.class Lcom/jecelyin/editor/v2/ui/b$p;
.super Ljava/lang/Object;
.source "EditorDelegate.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/jecelyin/editor/v2/ui/b;->a(Landroid/view/ActionMode;Landroid/view/Menu;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Landroid/view/ActionMode;

.field final synthetic b:Lcom/jecelyin/editor/v2/ui/b;


# direct methods
.method constructor <init>(Lcom/jecelyin/editor/v2/ui/b;Landroid/view/ActionMode;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/jecelyin/editor/v2/ui/b$p;->b:Lcom/jecelyin/editor/v2/ui/b;

    iput-object p2, p0, Lcom/jecelyin/editor/v2/ui/b$p;->a:Landroid/view/ActionMode;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 0

    .line 1
    iget-object p1, p0, Lcom/jecelyin/editor/v2/ui/b$p;->a:Landroid/view/ActionMode;

    invoke-virtual {p1}, Landroid/view/ActionMode;->finish()V

    .line 2
    iget-object p1, p0, Lcom/jecelyin/editor/v2/ui/b$p;->b:Lcom/jecelyin/editor/v2/ui/b;

    iget-object p1, p1, Lcom/jecelyin/editor/v2/ui/b;->b:Lcom/jecelyin/editor/v2/widget/text/EditAreaView;

    if-eqz p1, :cond_0

    .line 3
    invoke-virtual {p1}, Lcom/jecelyin/editor/v2/widget/text/EditAreaView;->b()V

    :cond_0
    return-void
.end method
